package cn.iocoder.yudao.module.brokerage.user.pojo.vo;

import cn.iocoder.yudao.framework.business.basic.pojo.vo.MemberScopeVO;
import cn.iocoder.yudao.framework.business.basic.pojo.vo.UserSimpleVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Schema(description = "推广用户 Response VO")
@Data
public class AdminBrokerageUserVO extends MemberScopeVO {

    @Schema(description = "类型：0-普通用户、1-会员、2-招商人员、3-商家")
    private Integer type;
    @Schema(description = "类型：0-普通用户、1-会员、2-招商人员、3-商家")
    private String typeName;

    @Schema(description = "父级用户编号")
    private Long fatherUserId;
    @Schema(description = "父级用户信息")
    private UserSimpleVO fatherUser;

    @Schema(description = "祖级用户编号")
    private Long grandpaUserId;

    @Schema(description = "邀请人数")
    private Integer inviteCount;

    @Schema(description = "累计业绩金额，单位为分")
    private Integer achievementPrice;

    @Schema(description = "累计分佣金额，单位为分")
    private Integer bonusMoney;

    @Schema(description = "累计贡献值")
    private Integer bonusGrowth;

    @Schema(description = "等级权重")
    private Integer levelWeight;

    @Schema(description = "等级权重")
    private String levelWeightName;

    @Schema(description = "开关")
    private Boolean enabled;

    @Schema(description = "用户别名（推广者可改）")
    private String userAlias;

    @Schema(description = "用户手机号（推广者可改）")
    private String userMobile;

    @Schema(description = "用户单位（推广者可改）")
    private String userCompany;

    @Schema(description = "用户位置（推广者可改）")
    private String userLocation;

    @Schema(description = "用户邀请码")
    private String qrcode;

}